package dk.mirasola.systemtraining.bridgewidgets.client.ui.distributionfiltereditor;

import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.Editor;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import dk.mirasola.systemtraining.bridgewidgets.client.i18n.BridgeTexts;
import dk.mirasola.systemtraining.bridgewidgets.client.ui.editor.LogicOperatorEditor;
import dk.mirasola.systemtraining.bridgewidgets.shared.model.distributionfiltertree.LogicOperatorGroupItem;

public class LogicOperatorGroupItemEditor extends Composite implements Editor<LogicOperatorGroupItem> {
    private static BridgeTexts bridgeTexts = GWT.create(BridgeTexts.class);

    interface LogicOperatorEditorUIBinder extends UiBinder<Widget, LogicOperatorGroupItemEditor> {
    }

    private static LogicOperatorEditorUIBinder uiBinder = GWT.create(LogicOperatorEditorUIBinder.class);

    @UiField
    LogicOperatorEditor logicOperatorEditor;

    public LogicOperatorGroupItemEditor() {
        initWidget(uiBinder.createAndBindUi(this));
    }
}
